package com.jinkaimen.goodcash.api;

import com.jinkaimen.goodcash.constant.HttpConfig;

import java.util.Map;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.PartMap;

public interface FileApi {
    @POST(HttpConfig.Path.REST_FILE)
    @Multipart
    Call<String> uploadFileAndForm(
            @PartMap Map<String, RequestBody> params
    );
}
